package com.kitty.game.fight.message;


import com.kitty.mina.Modules;
import com.kitty.mina.annotation.ListField;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

import java.util.List;

/**
 * 法术攻击
 */
@MessageMeta(module = Modules.MSG_C_ACCEPT_MAGIC_HIT)
public class RespCombatAcceptMagicHit extends Message {
    private int hitterId;
    private int damageType = 1;//出手类型 必杀34 默认1 Todo bitset取int  8193 物理破防 8194 法术破防 9物理反震  35物理必杀  34 法术必杀 17物理连击
    private List<Integer> targets; //目标列表
    @ListField(value = 2)
    private List<Short> missed;

    public List<Short> getMissed() {
        return missed;
    }

    public void setMissed(List<Short> missed) {
        this.missed = missed;
    }

    public int getHitterId() {
        return hitterId;
    }

    public void setHitterId(int hitterId) {
        this.hitterId = hitterId;
    }

    public int getDamageType() {
        return damageType;
    }

    public void setDamageType(int damageType) {
        this.damageType = damageType;
    }

    public List<Integer> getTargets() {
        return targets;
    }

    public void setTargets(List<Integer> targets) {
        this.targets = targets;
    }
}
